package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "ZbItemEvaluationResponse", description = "检测项目评分返回对象")
public class ZbItemEvaluationResponse {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "检测项目id")
    private Integer itemId;

    @ApiModelProperty(value = "检测项目名称")
    @TableField(exist = false)
    private String itemName;

    @ApiModelProperty(value = "评价人ID")
    private Integer evaluatorId;

    @ApiModelProperty(value = "评价人名称")
    @TableField(exist = false)
    private String evaluatorName;

    @ApiModelProperty(value = "实际得分")
    private BigDecimal score;

    @ApiModelProperty(value = "评价意见")
    private String comment;

    @ApiModelProperty(value = "是否展示  1是0否")
    private Integer isShow;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "图片地址")
    private String url;
}
